import Vue from 'vue'
import './plugins/fontawesome'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import {showMessage} from './util/message'
import './router/permission.js'
// fortawesome 图标库
import {library} from '@fortawesome/fontawesome-svg-core'
import {fas} from '@fortawesome/free-solid-svg-icons'
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome'

library.add(fas)
Vue.component('font-awesome-icon', FontAwesomeIcon)


Vue.prototype.$showMessage = showMessage
new Vue({
    router,
    store,
    render: function (h) {
        return h(App)
    }
}).$mount('#app')
